package test;

public class ColoredCircle<T extends Color> extends HoldItem<T> implements Circle {

    public ColoredCircle(final T t) {

        super(t);
    }

    @Override
    public String drawCircle() {

        return "Draw a circle.";
    }

    @Override
    public String toString() {

        return drawCircle() + " and color is:" + t.getColor();
    }
}
